package com.teach;

/**
 * <pre>
 * - try..finally组合
 * Author : J.L.Zhou
 * E-Mail : 2233875735@qq.com
 * Tel : 151 1104 7708
 * Date : 2021-04-09 14:25
 * Version : 1.0
 * Copyright 2021 jlzhou.top Inc. All rights reserved.
 * Warning: this content is only for internal circulation of the company.
 *          It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 **/
public class Demo10 {

  public static void main(String[] args) {
    try{
      int x=100;
      int y=0;
      System.out.println("x/y="+x/y);
      System.out.println("x/y计算结束");
    }finally {
      System.out.println("finally里面的代码");
    }
    System.out.println("main方法运行结束");
  }
}
